//
//  InfoShareView.h
//  P2P
//
//  Created by wujiandong on 15/12/28.
//  Copyright (c) 2015年 EIMS. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol InfoShareViewDelegate <NSObject>
/**
 *  代理-当需要自定义分享内容时使用
 *
 *  @param shareType 分享类型
 */
- (void)shareMoreViewDidSelectWithShareType:(ShareType)shareType;
@end

@interface InfoShareView : UIView

- (id)initWithFrame:(CGRect)frame;
@property (nonatomic, copy) NSString *shareTitle;
@property (nonatomic, copy) NSString *shareImage;
@property (nonatomic, copy) NSString *shareContent;
@property (nonatomic, copy) NSString *shareUrl;
@property (nonatomic, copy) NSString *shareDescription;

- (void)show;
- (void)cancel;
@property (nonatomic, weak) id<InfoShareViewDelegate>delegate;
@end
